# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'syncFileWidget.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PyQt6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
                          QMetaObject, QObject, QPoint, QRect,
                          QSize, QTime, QUrl, Qt)
from PyQt6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
                         QFont, QFontDatabase, QGradient, QIcon,
                         QImage, QKeySequence, QLinearGradient, QPainter,
                         QPalette, QPixmap, QRadialGradient, QTransform)
from PyQt6.QtWidgets import (QApplication, QButtonGroup, QGridLayout, QGroupBox,
                             QHBoxLayout, QLineEdit, QListWidget, QListWidgetItem,
                             QProgressBar, QPushButton, QRadioButton, QSizePolicy,
                             QSpacerItem, QVBoxLayout, QWidget)


class Ui_FileSyncWindow(object):
    def setupUi(self, FileSyncWindow):
        if not FileSyncWindow.objectName():
            FileSyncWindow.setObjectName(u"FileSyncWindow")
        FileSyncWindow.resize(800, 600)
        font = QFont()
        font.setFamilies([u"STHeiti"])
        FileSyncWindow.setFont(font)
        self.verticalLayout = QVBoxLayout(FileSyncWindow)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.fileSyncWidget = QWidget(FileSyncWindow)
        self.fileSyncWidget.setObjectName(u"fileSyncWidget")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(10)
        sizePolicy.setHeightForWidth(self.fileSyncWidget.sizePolicy().hasHeightForWidth())
        self.fileSyncWidget.setSizePolicy(sizePolicy)
        self.fileSyncWidget.setFont(font)
        self.verticalLayout_2 = QVBoxLayout(self.fileSyncWidget)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.syncMode = QGroupBox(self.fileSyncWidget)
        self.syncMode.setObjectName(u"syncMode")
        self.syncMode.setEnabled(True)
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Maximum)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.syncMode.sizePolicy().hasHeightForWidth())
        self.syncMode.setSizePolicy(sizePolicy1)
        self.syncMode.setMinimumSize(QSize(0, 70))
        self.syncMode.setAlignment(
            Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
        self.syncMode.setFlat(False)
        self.gridLayout_3 = QGridLayout(self.syncMode)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.syncDir = QRadioButton(self.syncMode)
        self.syncModeGrop = QButtonGroup(FileSyncWindow)
        self.syncModeGrop.setObjectName(u"syncModeGrop")
        self.syncModeGrop.addButton(self.syncDir)
        self.syncDir.setObjectName(u"syncDir")

        self.gridLayout_3.addWidget(self.syncDir, 1, 2, 1, 1)

        self.syncFile = QRadioButton(self.syncMode)
        self.syncModeGrop.addButton(self.syncFile)
        self.syncFile.setObjectName(u"syncFile")
        self.syncFile.setChecked(True)

        self.gridLayout_3.addWidget(self.syncFile, 1, 1, 1, 1)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum)

        self.gridLayout_3.addItem(self.horizontalSpacer, 1, 0, 1, 1)

        self.verticalLayout_2.addWidget(self.syncMode)

        self.verticalSpacer = QSpacerItem(20, 15, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Preferred)

        self.verticalLayout_2.addItem(self.verticalSpacer)

        self.orgFileSource = QGroupBox(self.fileSyncWidget)
        self.orgFileSource.setObjectName(u"orgFileSource")
        sizePolicy1.setHeightForWidth(self.orgFileSource.sizePolicy().hasHeightForWidth())
        self.orgFileSource.setSizePolicy(sizePolicy1)
        self.orgFileSource.setMinimumSize(QSize(0, 70))
        self.orgFileSource.setAlignment(
            Qt.AlignmentFlag.AlignBottom | Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft)
        self.orgFileSource.setFlat(False)
        self.gridLayout = QGridLayout(self.orgFileSource)
        self.gridLayout.setObjectName(u"gridLayout")
        self.selectOrgFilePath = QPushButton(self.orgFileSource)
        self.selectOrgFilePath.setObjectName(u"selectOrgFilePath")

        self.gridLayout.addWidget(self.selectOrgFilePath, 1, 1, 1, 1)

        self.orgFilePath = QLineEdit(self.orgFileSource)
        self.orgFilePath.setObjectName(u"orgFilePath")
        self.orgFilePath.setEnabled(False)
        sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
        sizePolicy2.setHorizontalStretch(10)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.orgFilePath.sizePolicy().hasHeightForWidth())
        self.orgFilePath.setSizePolicy(sizePolicy2)

        self.gridLayout.addWidget(self.orgFilePath, 1, 0, 1, 1)

        self.verticalLayout_2.addWidget(self.orgFileSource)

        self.verticalSpacer_2 = QSpacerItem(20, 15, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Preferred)

        self.verticalLayout_2.addItem(self.verticalSpacer_2)

        self.copyFileSource = QGroupBox(self.fileSyncWidget)
        self.copyFileSource.setObjectName(u"copyFileSource")
        sizePolicy1.setHeightForWidth(self.copyFileSource.sizePolicy().hasHeightForWidth())
        self.copyFileSource.setSizePolicy(sizePolicy1)
        self.copyFileSource.setMinimumSize(QSize(0, 70))
        self.copyFileSource.setMaximumSize(QSize(16777215, 16776820))
        self.copyFileSource.setAlignment(Qt.AlignmentFlag.AlignJustify | Qt.AlignmentFlag.AlignTop)
        self.copyFileSource.setFlat(False)
        self.copyFileSource.setCheckable(False)
        self.gridLayout_2 = QGridLayout(self.copyFileSource)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.selectCopyFilePath = QPushButton(self.copyFileSource)
        self.selectCopyFilePath.setObjectName(u"selectCopyFilePath")

        self.gridLayout_2.addWidget(self.selectCopyFilePath, 0, 1, 1, 1)

        self.copyFilePath = QLineEdit(self.copyFileSource)
        self.copyFilePath.setObjectName(u"copyFilePath")
        self.copyFilePath.setEnabled(False)
        sizePolicy2.setHeightForWidth(self.copyFilePath.sizePolicy().hasHeightForWidth())
        self.copyFilePath.setSizePolicy(sizePolicy2)

        self.gridLayout_2.addWidget(self.copyFilePath, 0, 0, 1, 1)

        self.verticalLayout_2.addWidget(self.copyFileSource)

        self.widget = QWidget(self.fileSyncWidget)
        self.widget.setObjectName(u"widget")
        self.horizontalLayout = QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.startSync = QPushButton(self.widget)
        self.startSync.setObjectName(u"startSync")
        # self.startSync.setCheckable(True)
        # self.startSync.setFlat(False)

        self.horizontalLayout.addWidget(self.startSync)

        self.syncProgress = QProgressBar(self.widget)
        self.syncProgress.setObjectName(u"syncProgress")
        self.syncProgress.setEnabled(True)
        sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.syncProgress.sizePolicy().hasHeightForWidth())
        self.syncProgress.setSizePolicy(sizePolicy3)
        self.syncProgress.setVisible(True)
        self.syncProgress.setInvertedAppearance(False)

        self.horizontalLayout.addWidget(self.syncProgress)

        self.verticalLayout_2.addWidget(self.widget)

        self.fileSyncInfoList = QListWidget(self.fileSyncWidget)
        self.fileSyncInfoList.setObjectName(u"fileSyncInfoList")
        self.fileSyncInfoList.setEnabled(False)
        sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
        sizePolicy4.setHorizontalStretch(0)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.fileSyncInfoList.sizePolicy().hasHeightForWidth())
        self.fileSyncInfoList.setSizePolicy(sizePolicy4)

        self.verticalLayout_2.addWidget(self.fileSyncInfoList)

        self.verticalLayout.addWidget(self.fileSyncWidget)

        self.retranslateUi(FileSyncWindow)

        QMetaObject.connectSlotsByName(FileSyncWindow)

    # setupUi

    def retranslateUi(self, FileSyncWindow):
        FileSyncWindow.setWindowTitle(QCoreApplication.translate("FileSyncWindow", u"Widget", None))
        FileSyncWindow.setWindowFilePath("")
        self.syncMode.setTitle(
            QCoreApplication.translate("FileSyncWindow", u"\u6587\u4ef6\u540c\u6b65\u6a21\u5f0f", None))
        self.syncDir.setText(QCoreApplication.translate("FileSyncWindow", u"\u540c\u6b65\u6587\u4ef6\u5939", None))
        self.syncFile.setText(QCoreApplication.translate("FileSyncWindow", u"\u540c\u6b65\u6587\u4ef6", None))
        self.orgFileSource.setTitle(
            QCoreApplication.translate("FileSyncWindow", u"\u6e90\u6587\u4ef6\u4f4d\u7f6e", None))
        self.selectOrgFilePath.setText(QCoreApplication.translate("FileSyncWindow", u"\u9009\u62e9", None))
        self.copyFileSource.setTitle(
            QCoreApplication.translate("FileSyncWindow", u"\u76ee\u6807\u6587\u4ef6\u4f4d\u7f6e", None))
        self.selectCopyFilePath.setText(QCoreApplication.translate("FileSyncWindow", u"\u9009\u62e9", None))
        self.startSync.setText(QCoreApplication.translate("FileSyncWindow", u"\u5f00\u59cb\u540c\u6b65", None))
    # retranslateUi
